package com.rh.number.service;

import com.rh.number.entity.UserinfoEntity;
import org.apache.tomcat.websocket.AuthenticationException;


/**
 * (Userinfo)表服务接口
 *
 * @author makejava
 * @since 2025-03-22 23:35:38
 */
public interface AuthService {

    String login(String username, String password);
    void addUser(UserinfoEntity user);
    UserinfoEntity authenticate(String username, String password) throws AuthenticationException;
}
